home *** CD-ROM | disk | FTP | other *** search
- Date: Mon, 30 May 1994 20:48:27 -0400 (EDT)
- From: Timothy Miller <millert@undergrad.csee.usf.edu>
- Subject: Re: Colour.
- To: gem-list@world.std.com
- In-Reply-To: <9405310029.AA11953@uqcspe.cs.uq.oz.au>
- Message-Id: <Pine.3.87.9405302027.C18554-0100000@undergrad>
- Mime-Version: 1.0
- Precedence: bulk
-
- Ah, yes. I like that suggestion.
-
- If the color manager were another GEM app under MultiTOS, then it would
- receive all of the WM_TOPPED messages and it could handle all or the
- color changes automatically.
-
- When an app wanted to assign a palette to a WINDOW (not an app), it would
- tell the manager that when that window is topped, to use the palette
- assigned to that window.
-
- For apps that didn't follow the rules, when the manager it first loaded,
- it would get the default palette and when an unassigned window is topped,
- it would use the default palette.
-
- Other options include things like automatic palette handling. When a
- window is topped, the manager would assign the current palette to the
- window that used to be on the top, then set the palette last assigned to
- the new top window. This way, next time the window is topped, the
- palette that was active when it was last on top will be automatically set
- again and the app would never even have to care or register or follow
- anything but the simplest of rules (like don't change palette unless your
- window is on top).
-
- Also, palettes should be in VDI format... values of 0 to 1000 for system
- independance.
-
-
-